import { createRouter, createWebHashHistory } from "vue-router";

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: "/",
      name: "home",
      component: () => import("@/views/home/index.vue"),
    },
    {
      path: "/translate",
      name: "translate",
      component: () => import("@/views/translate/index.vue"),
    },
    {
      path: "/screenShotOverlay",
      name: "screenShotOverlay",
      component: () => import("@/views/screenShot/overlay.vue"),
    },
    {
      path: "/setting",
      name: "setting",
      component: () => import("@/views/setting/index.vue"),
    },
    {
      path: "/pin-window",
      name: "pin-window",
      component: () => import("@/views/screenShot/PinWindow.vue"),
    },
    {
      path: "/test-request",
      name: "test-request",
      component: () => import("@/views/test-request.vue"),
    },
  ],
});

export default router;
